
<!--短信发送-->
<div class="row mt10">

    <div class="col-lg-9 col-sm-9 col-md-8 col-xs-8">


        <form class="form-horizontal" name="smsForm" role="form" style="padding-right:20px;">

            <div class="form-group Receiver">
                <b>选择接收人:</b>
                <span ng-repeat="person in persons | orderBy:'UserID'">
                    <span style="background:#eaeaea;color:#00a592;padding:5px 10px; margin-right:5px;">{{person.Username}}</span>
                </span>
            </div>
            <div class="form-group">

                <div class="col-lg-1 col-md-1">
                    <div class="row">
                        <label for="firstname" class="control-label">姓名:</label>
                    </div>
                </div>
                <div class="col-lg-11 col-md-11">
                    <div class="row">
                        <div class="col-lg-5 col-md-5">
                            <div class="row">
                                <input type="text" class="form-control" id="firstname" ng-model="Username"
                                       placeholder="请输入名字">
                            </div>
                        </div>
                        <div class="col-lg-7 col-md-7">
                            <div class="row">
                                <div class="col-lg-2 col-lg-offset-1 col-md-2 col-md-offset-1">
                                    <div class="row">
                                        <label for="firstname" class="control-label">电话:</label>
                                    </div>
                                </div>

                                <div class="col-lg-9 col-md-9">
                                    <div class="row">
                                        <input type="text" class="form-control" id="firstname" ng-model="Phone"
                                               placeholder="请输入电话">
                                    </div>
                                </div>
                            </div>
                        </div>

                    </div>


                </div>


            </div>


            <div class="form-group">

                <div class="col-lg-1 col-md-1">
                    <div class="row">
                        <label for="firstname" class="control-label">内容模版:</label>
                    </div>
                </div>

                <div class="col-lg-11 col-md-11">
                    <div class="row">
                        <select class="form-control" ng-change="TemplateChange()" ng-model="selectedTemplate"
                                ng-init="selectedTemplate=selectedTemplates[0]"
                                ng-options="temp.SMS_Mcont for temp in selectedTemplates"></select>
                    </div>
                </div>


            </div>


            <div class="form-group">
                <textarea class="form-control" rows="5" ng-model="smsAdd.content"></textarea>
            </div>
            <div class="row">
                <button type="button" ng-click="submitForm()"
                        ng-disabled="smsForm.$invalid" class="btn btnCustom btn-lg btnLg mr5">发送
                </button>
                <button type="reset" class="btn btnHui btn-lg btnLg">重置</button>
            </div>

        </form>

    </div>
    <div class="col-lg-3 col-sm-3 col-md-4 col-xs-4 Contacts">
        <h3>通信录列表</h3>


        <p style="margin-top:10px;margin-left:20px;">
            <input type="checkbox" style="" class="icheckbox" ng-model="select_all" ng-change="selectAll()">
            <label>全选</label>
        </p>

        <treecontrol class="tree-light"
                     tree-model="dataForTheTree"
                     options="treeOptions"
                     selected-nodes="selectedNodes">

            <label for=""><input type="checkbox" style="" class="icheckbox" ng-checked="node.state" name="item"
                                 ng-change="showSelected(node,selected, $parentNode, $index)" ng-model="node.state">
                {{node.UserName}}</label>
        </treecontrol>


    </div>
</div>
